#!/bin/sh

rm -rf usr/share/applications
mkdir -p usr/share/applications
cat > usr/share/applications/HomeBank.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=HomeBank finance management
Icon=homebank
Comment=HomeBank finance management
Exec=homebank
Terminal=false
Type=Application
Categories=X-Calculate
GenericName=HomeBank
EOF

mkdir -p usr/share/pixmaps
cp usr/share/icons/hicolor/48x48/apps/homebank.png usr/share/pixmaps
rm -f usr/share/pixmaps/homebank.xpm
